:root {
    --primary-bg: #27a39b;
    --text-white: #ffffff;
    --text-dark: #0a3442;
    --text-muted: #666;
    --text-hover: #dcdcdc;
    --gradient-start: #d95eff;
    --gradient-end: #5e8bff;
    --heading-color: #0A3442;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --bg-light: #eafaf8;
    --card-bg: linear-gradient(180deg, #dff6f3, #038378);
    --radius: 20px;
}
.sta{
    color: #0A3442;
    text-decoration: none;
}
.sta:hover{

    color: white;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    background-color: #D9FDFF;
    direction: rtl;
}

/* النافبار من landing.css */

footer {
    width: 100%;
    background-color: #0e3e46;
    color: white;
    padding: 40px 0;
    box-sizing: border-box;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 220px;
}

.footer-column h3 {
    color: #3db8a9;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-column p,
.footer-column a {
    font-size: 0.95rem;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-column i {
    margin-left: 8px;
    color: #3db8a9;
    transition: color 0.3s ease;
}

.footer-bottom {
    background-color: #36b7a9;
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.social-icons img:hover {
    border-radius: 50%;
    background-color: #038378;
}

.footer-column a:hover {
    text-decoration: none;
    color: orange;
}

.footer-bottom a {
    color: orange;
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        min-width: 100%;
    }

    .social-icons {
        justify-content: center;
    }
}

.container {
    margin: 50px auto;
    background-color: rgba(223, 246, 250, 0.8);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85%;
    padding: 30px;
    border: 2px solid rgba(10, 52, 66, 0.8);
    border-radius: 10px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section {
    padding-bottom: 20px;
}

h2 {
    position: relative;
    font-size: 22px;
    color: #093443;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 140px;
    height: 2px;
    background-color: #33A5A0;
    border-radius: 2px;
}

.custom-box {
    border: 1px solid #0A3442;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    width: 100%;
    min-height: 45px;
}

.custom-box label {
    color: #0A3442;
    font-weight: bold;
}

.custom-box input[type="checkbox"],
.custom-box input[type="radio"] {
    width: 16px;
    height: 16px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

input[type="text"],
input[type="password"],
.select,
input[type="date"] {
    padding: 10px;
    border: 1px solid #0A3442;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    background: transparent;
}

.flex-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flex-group input[type="text"],
.flex-group input[type="password"]
.flex-group input[type="select"]
{
    flex: 1;
}

.gender-box {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
}

.gender-box,
.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.gender-box label:first-child,
.checkbox-field label {
    font-weight: bold;
    color: #0A3442;
}

.gender-box input[type="radio"],
.checkbox-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.row-sections {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.section {
    flex: 1;
    min-width: 320px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

button {
    background-color: #fff;
    color: #0A3442;
    border: 1px solid #0A3442;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    max-width: 200px;
}

button:hover {
    background-color: #0A3442;
    color: white;
}

.already-account a {
    text-decoration: none;
    color: #06647A;
    font-size: 18px;
    margin-left: 15px;
}

.already-account {
    text-align: right;
}

.already-account a:hover {
    color: #0A3442;
}

@media (max-width: 768px) {
    .row-sections {
        flex-direction: column;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .form {
        gap: 25px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    button {
        width: 100%;
        max-width: 300px;
    }

    .already-account {
        text-align: center;
    }

    .already-account a {
        font-size: 18px;
        color: #06647A;
        text-decoration: none;
    }

    .already-account a:hover {
        color: #0A3442;
    }
}

.signup-section {
    padding: 20px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.signup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.signup-section h1 {
    font-size: 2.5rem;
    color: #0A3442;
    margin: 0;
}

.signup-image {
    width: 150px;
    height: auto;
}
